﻿using System;
using System.Collections.Generic;
using System.Text;

namespace WFL.Wrapper.Highcharts
{
    public class YAxisObject : JsonObject
    {
        public TitleObject Title
        {
            get { return (TitleObject)this["title"]; }
            set { this["title"] = value; }
        }

        public int Min
        {
            get { return GetValue<int>("min"); }
            set { this["min"] = value; }
        }

        public bool Opposite
        {
            get { return GetValue<bool>("opposite"); }
            set { this["opposite"] = value; }
        }

        public PlotLineObject[] PlotLines
        {
            get { return (PlotLineObject[])this["plotLines"]; }
            set { this["plotLines"] = value; }
        }
    }
}
